package com.s64.ssm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 默认自动扫描当前包以及子包中的@Controller@Service@Component等注解
 */
@SpringBootApplication
@MapperScan(basePackages = "com.s64.ssm.mapper")
public class Ch03Application {
    public static void main(String[] args) {
        SpringApplication.run(Ch03Application.class, args);
    }
}
